package com.example.model.wemedia.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class NewsDto {
    @Schema(description = "新闻编号")
    private Integer id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "图文频道ID")
    private Integer channelId;

    @Schema(description = "标签")
    private String labels;

    @Schema(description = "定时发布时间，不定时则为空")
    private Date publishTime;

    @Schema(description = "文章内容")
    private String content;

    @Schema(description = "文章封面类型 0无图 1单图 3三图 10-自动")
    private Short type;

    @Schema(description = "当前状态 0草稿 1提交（待审核） 2审核失败 3人工审核 4人工审核通过 8审核通过（待发布） 9已发布")
    private Short status;

    @Schema(description = "封面图片列表")
    private List< String > images;

    @Schema(description = "上下架 0 下架 1 上架")
    private Short enable;
}
